
json = require('json');

ILogin_Invoker = { };
ILogin_Invoker[121726959] = 'Login';

function ILogin_Invoker.Bind(impl)

          return function(messageid,jsonstring)
                      local methodName = ILogin_Invoker[messageid];
                      if( nil ~= methodName ) then
                          local arg = json.decode(jsonstring);
                          impl[methodName](arg);
                      else
                          print('method not found,messageid = ' .. messageid);
                      end
                 end
end